package chapter10;

/**
 * Created by V5470-I5 on 2016/4/10.
 */
import static java.lang.System.out;

public class Member2Demo {
    public static void main(String[] args) throws Exception{
        Member2[] members={
                new Member2("B1234","Messi",90),
                new Member2("B1235","Messi1",90),
                new Member2("B1236","Messi2",90),
        };
        for(Member2 member : members){
            member.save();
        }
        out.println(Member2.load("B1234"));
        out.println(Member2.load("B1235"));
        out.println(Member2.load("B1236"));
    }
}

